﻿### Harem Window text ###
# Favor
# Rank
# Head of the Harem
# Temperament

# Favor level
consort_favor_level = {
	type = character

	text = { #Beloved
		trigger = {
			has_character_modifier = beloved_consort_modifier
		}
		localization_key = favor_level_5
	}
	text = { #Favorite
		trigger = {
			OR = {
				has_character_modifier = favored_consort_modifier
				has_character_modifier = favor_boost_modifier
			}
		}
		localization_key = favor_level_4
	}
	text = { #Unfavored
		trigger = {
			has_character_modifier = unfavored_consort_modifier
		}
		localization_key = favor_level_2
	}
	text = { #Forgotten
		trigger = {
			has_character_modifier = forgotten_consort_modifier
		}
		localization_key = favor_level_1
	}
	text = {
		localization_key = ""
		fallback = yes
	}
}
# Rank
consort_rank_localization = {
	type = character

	#Relatives
	text = { # Mother
		trigger = {
			court_owner ?= {
				is_grandchild_of = root
			}
		}
		localization_key = GRANDPARENT_HAREM_WINDOW
	}
	text = { # Father
		trigger = {
			court_owner ?= {
				is_child_of = root
			}
		}
		localization_key = PARENT_HAREM_WINDOW
	}	
	text = { # Others
		trigger = {
			court_owner ?= {
				NOT = {
					is_consort_of = root
				}
			}
		}
		localization_key = AUTHORITY_HAREM_WINDOW
	}

	# Consorts
	text = { # The Primary Spouse
		trigger = {
			court_owner ?= {
				primary_spouse ?= {
					this = root
				}
			}
			is_head_of_the_harem_trigger = {
				LIEGE = court_owner
			}
		}
		localization_key = PRIMARY_SPOUSE_TITLE
	}
	text = { # The Primary Spouse
		trigger = {
			court_owner ?= {
				primary_spouse ?= {
					this = root
				}
			}
		}
		localization_key = PRIMARY_SPOUSE
	}
	text = { # Grand Consort
		trigger = {
			has_court_position = grand_consort_court_position
		}
		localization_key = GRAND_CONSORT
	}
	text = { # Secondary spouses
		trigger = {
			court_owner ?= {
				is_spouse_of = root
			}
		}
		localization_key = SECONDARY_SPOUSE_HAREM_WINDOW
	}
	text = { # Concubines
		trigger = {
			court_owner ?= {
				root = {
					is_concubine_of = prev
				}
			}
		}
		localization_key = CONCUBINE_HAREM_WINDOW
	}
}
# The Head of the Harem
harem_head_localization = {
	type = character

	text = {
		localization_key = HAREM_HEAD_LOCALIZATION_ICON
	}
}
# Consort Temperament
consort_temperament_localization = {
	type = character

	text = {
		trigger = {
			has_character_modifier = scheming_consort_modifier
		}
		localization_key = SCHEMING_CONSORT_LOCALIZATION_ICON
	}

	text = {
		trigger = {
			has_character_modifier = diplomatic_consort_modifier
		}
		localization_key = DIPLOMATIC_CONSORT_LOCALIZATION_ICON
	}

	text = {
		localization_key = ""
		fallback = yes
	}
}
# Consort Temperament Tooltip
consort_temperament_tooltip_localization = {
	type = character
	
	text = {
		trigger = {
			has_character_modifier = scheming_consort_modifier
		}
		localization_key = SCHEMING_CONSORT_LOCALIZATION_TOOLTIP
	}

	text = {
		trigger = {
			has_character_modifier = diplomatic_consort_modifier
		}
		localization_key = DIPLOMATIC_CONSORT_LOCALIZATION_TOOLTIP
	}

	text = {
		localization_key = ""
		fallback = yes
	}
}

### Loc files and events for translations ###
# harem
# The harem
# My harem
# Your harem
# Harem
# The Harem
# Your Harem

# Harem - lowercase
harem_lowercase_localization = {
	type = character

	# Male rulers
	text = { # Imperial Feudal Harem - Men
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier >= tier_empire
			is_male = yes
		}
		localization_key = IMPERIAL_HAREM_MALE_LOWERCASE_LOC
	}
	text = { # Royal Feudal Harem - Men
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier = tier_kingdom
			is_male = yes
		}
		localization_key = ROYAL_HAREM_MALE_LOWERCASE_LOC
	}

	text = { # Imperial Feudal Harem - Women
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier >= tier_empire
			is_male = no
		}
		localization_key = IMPERIAL_HAREM_FEMALE_LOWERCASE_LOC
	}
	text = { # Royal Feudal Harem - Women
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier = tier_kingdom
			is_male = no
		}
		localization_key = ROYAL_HAREM_FEMALE_LOWERCASE_LOC
	}

	text = { # Feudal rulers
		trigger = {
			can_have_settled_harem_trigger = yes
		}
		localization_key = FEUDAL_HAREM_GENERAL_LOWERCASE_LOC
	}

	text = { # Nomadic rulers
		trigger = {
			government_has_flag = government_is_nomadic
		}
		localization_key = HAREM_NOMADIC_LOWERCASE_LOC
	}

	text = { # Tribal rulers
		trigger = {
			government_has_flag = government_is_tribal
		}
		localization_key = HAREM_TRIBAL_LOWERCASE_LOC
	}
}
# The harem - lowercase
the_harem_lowercase_localization = {
	type = character

	# Male rulers
	text = { # Imperial Feudal Harem - Men
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier >= tier_empire
			is_male = yes
		}
		localization_key = THE_IMPERIAL_HAREM_MALE_LOWERCASE_LOC
	}
	text = { # Royal Feudal Harem - Men
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier = tier_kingdom
			is_male = yes
		}
		localization_key = THE_ROYAL_HAREM_MALE_LOWERCASE_LOC
	}

	text = { # Imperial Feudal Harem - Women
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier >= tier_empire
			is_male = no
		}
		localization_key = THE_IMPERIAL_HAREM_FEMALE_LOWERCASE_LOC
	}
	text = { # Royal Feudal Harem - Women
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier = tier_kingdom
			is_male = no
		}
		localization_key = THE_ROYAL_HAREM_FEMALE_LOWERCASE_LOC
	}

	text = { # Feudal rulers
		trigger = {
			can_have_settled_harem_trigger = yes
		}
		localization_key = THE_FEUDAL_HAREM_GENERAL_LOWERCASE_LOC
	}

	text = { # Nomadic rulers
		trigger = {
			government_has_flag = government_is_nomadic
		}
		localization_key = THE_HAREM_NOMADIC_LOWERCASE_LOC
	}

	text = { # Tribal rulers
		trigger = {
			government_has_flag = government_is_tribal
		}
		localization_key = THE_HAREM_TRIBAL_LOWERCASE_LOC
	}
}
# My harem - lowercase
my_harem_lowercase_localization = {
	type = character

	# Male rulers
	text = { # Imperial Feudal Harem - Men
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier >= tier_empire
			is_male = yes
		}
		localization_key = MY_IMPERIAL_HAREM_MALE_LOWERCASE_LOC
	}
	text = { # Royal Feudal Harem - Men
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier = tier_kingdom
			is_male = yes
		}
		localization_key = MY_ROYAL_HAREM_MALE_LOWERCASE_LOC
	}

	text = { # Imperial Feudal Harem - Women
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier >= tier_empire
			is_male = no
		}
		localization_key = MY_IMPERIAL_HAREM_FEMALE_LOWERCASE_LOC
	}
	text = { # Royal Feudal Harem - Women
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier = tier_kingdom
			is_male = no
		}
		localization_key = MY_ROYAL_HAREM_FEMALE_LOWERCASE_LOC
	}

	text = { # Feudal rulers
		trigger = {
			can_have_settled_harem_trigger = yes
		}
		localization_key = MY_FEUDAL_HAREM_GENERAL_LOWERCASE_LOC
	}

	text = { # Nomadic rulers
		trigger = {
			government_has_flag = government_is_nomadic
		}
		localization_key = MY_HAREM_NOMADIC_LOWERCASE_LOC
	}

	text = { # Tribal rulers
		trigger = {
			government_has_flag = government_is_tribal
		}
		localization_key = MY_HAREM_TRIBAL_LOWERCASE_LOC
	}
}
# Your harem - lowercase
your_harem_lowercase_localization = {
	type = character

	# Male rulers
	text = { # Imperial Feudal Harem - Men
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier >= tier_empire
			is_male = yes
		}
		localization_key = YOUR_IMPERIAL_HAREM_MALE_LOWERCASE_LOC
	}
	text = { # Royal Feudal Harem - Men
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier = tier_kingdom
			is_male = yes
		}
		localization_key = YOUR_ROYAL_HAREM_MALE_LOWERCASE_LOC
	}

	text = { # Imperial Feudal Harem - Women
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier >= tier_empire
			is_male = no
		}
		localization_key = YOUR_IMPERIAL_HAREM_FEMALE_LOWERCASE_LOC
	}
	text = { # Royal Feudal Harem - Women
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier = tier_kingdom
			is_male = no
		}
		localization_key = YOUR_ROYAL_HAREM_FEMALE_LOWERCASE_LOC
	}

	text = { # Feudal rulers
		trigger = {
			can_have_settled_harem_trigger = yes
		}
		localization_key = YOUR_FEUDAL_HAREM_GENERAL_LOWERCASE_LOC
	}

	text = { # Nomadic rulers
		trigger = {
			government_has_flag = government_is_nomadic
		}
		localization_key = YOUR_HAREM_NOMADIC_LOWERCASE_LOC
	}

	text = { # Tribal rulers
		trigger = {
			government_has_flag = government_is_tribal
		}
		localization_key = YOUR_HAREM_TRIBAL_LOWERCASE_LOC
	}
}

# Harem - uppercase
harem_uppercase_localization = {
	type = character

	# Male rulers
	text = { # Imperial Feudal Harem - Men
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier >= tier_empire
			is_male = yes
		}
		localization_key = IMPERIAL_HAREM_MALE_UPPERCASE_LOC
	}
	text = { # Royal Feudal Harem - Men
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier = tier_kingdom
			is_male = yes
		}
		localization_key = ROYAL_HAREM_MALE_UPPERCASE_LOC
	}

	text = { # Imperial Feudal Harem - Women
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier >= tier_empire
			is_male = no
		}
		localization_key = IMPERIAL_HAREM_FEMALE_UPPERCASE_LOC
	}
	text = { # Royal Feudal Harem - Women
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier = tier_kingdom
			is_male = no
		}
		localization_key = ROYAL_HAREM_FEMALE_UPPERCASE_LOC
	}

	text = { # Feudal rulers
		trigger = {
			can_have_settled_harem_trigger = yes
		}
		localization_key = FEUDAL_HAREM_GENERAL_UPPERCASE_LOC
	}

	text = { # Nomadic rulers
		trigger = {
			government_has_flag = government_is_nomadic
		}
		localization_key = HAREM_NOMADIC_UPPERCASE_LOC
	}

	text = { # Tribal rulers
		trigger = {
			government_has_flag = government_is_tribal
		}
		localization_key = HAREM_TRIBAL_UPPERCASE_LOC
	}
}
# The harem - uppercase
the_harem_uppercase_localization = {
	type = character

	# Male rulers
	text = { # Imperial Feudal Harem - Men
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier >= tier_empire
			is_male = yes
		}
		localization_key = THE_IMPERIAL_HAREM_MALE_UPPERCASE_LOC
	}
	text = { # Royal Feudal Harem - Men
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier = tier_kingdom
			is_male = yes
		}
		localization_key = THE_ROYAL_HAREM_MALE_UPPERCASE_LOC
	}

	text = { # Imperial Feudal Harem - Women
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier >= tier_empire
			is_male = no
		}
		localization_key = THE_IMPERIAL_HAREM_FEMALE_UPPERCASE_LOC
	}
	text = { # Royal Feudal Harem - Women
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier = tier_kingdom
			is_male = no
		}
		localization_key = THE_ROYAL_HAREM_FEMALE_UPPERCASE_LOC
	}

	text = { # Feudal rulers
		trigger = {
			can_have_settled_harem_trigger = yes
		}
		localization_key = THE_FEUDAL_HAREM_GENERAL_UPPERCASE_LOC
	}

	text = { # Nomadic rulers
		trigger = {
			government_has_flag = government_is_nomadic
		}
		localization_key = THE_HAREM_NOMADIC_UPPERCASE_LOC
	}

	text = { # Nomadic rulers
		trigger = {
			government_has_flag = government_is_tribal
		}
		localization_key = THE_HAREM_TRIBAL_UPPERCASE_LOC
	}
}
# Your harem - uppercase
your_harem_uppercase_localization = {
	type = character

	# Male rulers
	text = { # Imperial Feudal Harem - Men
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier >= tier_empire
			is_male = yes
		}
		localization_key = YOUR_IMPERIAL_HAREM_MALE_UPPERCASE_LOC
	}
	text = { # Royal Feudal Harem - Men
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier = tier_kingdom
			is_male = yes
		}
		localization_key = YOUR_ROYAL_HAREM_MALE_UPPERCASE_LOC
	}

	text = { # Imperial Feudal Harem - Women
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier >= tier_empire
			is_male = no
		}
		localization_key = YOUR_IMPERIAL_HAREM_FEMALE_UPPERCASE_LOC
	}
	text = { # Royal Feudal Harem - Women
		trigger = {
			can_have_settled_harem_trigger = yes
			highest_held_title_tier = tier_kingdom
			is_male = no
		}
		localization_key = YOUR_ROYAL_HAREM_FEMALE_UPPERCASE_LOC
	}

	text = { # Feudal rulers
		trigger = {
			can_have_settled_harem_trigger = yes
		}
		localization_key = YOUR_FEUDAL_HAREM_GENERAL_UPPERCASE_LOC
	}

	text = { # Nomadic rulers
		trigger = {
			government_has_flag = government_is_nomadic
		}
		localization_key = YOUR_HAREM_NOMADIC_UPPERCASE_LOC
	}

	text = { # Nomadic rulers
		trigger = {
			government_has_flag = government_is_tribal
		}
		localization_key = YOUR_HAREM_TRIBAL_UPPERCASE_LOC
	}
}

# For concubines:
## Concubine
## Concubines
## The concubine
## The concubines
## My concubine
## My concubines
## Your concubine
## Your concubines

# Concubine
concubine_localization = {
	type = character

	text = { #Male concubine
		trigger = {
			is_male = yes
		}
		localization_key = CONCUBINE_MALE_LOC
	}

	text = { #Female concubine
		localization_key = CONCUBINE_FEMALE_LOC
	}
}
# The concubine
the_concubine_localization = {
	type = character

	text = { #The male concubine
		trigger = {
			is_male = yes
		}
		localization_key = THE_CONCUBINE_MALE_LOC
	}

	text = { #The female concubine
		localization_key = THE_CONCUBINE_FEMALE_LOC
	}
}
# My concubine
my_concubine_localization = {
	type = character

	text = { #My male concubine
		trigger = {
			is_male = yes
		}
		localization_key = MY_CONCUBINE_MALE_LOC
	}

	text = { #My female concubine
		localization_key = MY_CONCUBINE_FEMALE_LOC
	}
}
# Your concubine
your_concubine_localization = {
	type = character

	text = { #My male concubine
		trigger = {
			is_male = yes
		}
		localization_key = YOUR_CONCUBINE_MALE_LOC
	}

	text = { #My female concubine
		localization_key = YOUR_CONCUBINE_FEMALE_LOC
	}
}

# Concubines
concubines_localization = {
	type = character

	text = { #Female imperial concubines
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = FEMALE_IMPERIAL_CONCUBINES_LOC
	}

	text = { #Male concubines
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = MALE_IMPERIAL_CONCUBINES_LOC
	}

	text = { #Concubines
		trigger = {
			can_have_imperial_consorts_trigger = yes
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = UNISEX_IMPERIAL_CONCUBINES_LOC
	}

	text = { #Female concubines
		trigger = {
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = FEMALE_CONCUBINES_LOC
	}

	text = { #Male concubines
		trigger = {
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = MALE_CONCUBINES_LOC
	}

	text = { #Concubines
		trigger = {
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = UNISEX_CONCUBINES_LOC
	}
}
# The concubines
the_concubines_localization = {
	type = character

	text = { #Female imperial concubines
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = THE_FEMALE_IMPERIAL_CONCUBINES_LOC
	}

	text = { #Male concubines
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = THE_MALE_IMPERIAL_CONCUBINES_LOC
	}

	text = { #Concubines
		trigger = {
			can_have_imperial_consorts_trigger = yes
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = THE_UNISEX_IMPERIAL_CONCUBINES_LOC
	}

	text = { #Female concubines
		trigger = {
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = THE_FEMALE_CONCUBINES_LOC
	}

	text = { #Male concubines
		trigger = {
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = THE_MALE_CONCUBINES_LOC
	}

	text = { #Concubines
		trigger = {
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = THE_UNISEX_CONCUBINES_LOC
	}
}
# My concubines
my_concubines_localization = {
	type = character

	text = { #Female imperial concubines
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = MY_FEMALE_IMPERIAL_CONCUBINES_LOC
	}

	text = { #Male concubines
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = MY_MALE_IMPERIAL_CONCUBINES_LOC
	}

	text = { #Concubines
		trigger = {
			can_have_imperial_consorts_trigger = yes
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = MY_UNISEX_IMPERIAL_CONCUBINES_LOC
	}

	text = { #Female concubines
		trigger = {
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = MY_FEMALE_CONCUBINES_LOC
	}

	text = { #Male concubines
		trigger = {
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = MY_MALE_CONCUBINES_LOC
	}

	text = { #Concubines
		trigger = {
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = MY_UNISEX_CONCUBINES_LOC
	}
}
# Your concubines
your_concubines_localization = {
	type = character

	text = { #Female imperial concubines
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = YOUR_FEMALE_IMPERIAL_CONCUBINES_LOC
	}

	text = { #Male concubines
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = YOUR_MALE_IMPERIAL_CONCUBINES_LOC
	}

	text = { #Concubines
		trigger = {
			can_have_imperial_consorts_trigger = yes
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = YOUR_UNISEX_IMPERIAL_CONCUBINES_LOC
	}

	text = { #Female concubines
		trigger = {
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = YOUR_FEMALE_CONCUBINES_LOC
	}

	text = { #Male concubines
		trigger = {
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = YOUR_MALE_CONCUBINES_LOC
	}

	text = { #Concubines
		trigger = {
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = YOUR_UNISEX_CONCUBINES_LOC
	}
}

# For consorts:
## Consort
## Consorts
## The consort
## The consorts
## My consort
## My consorts
## Your consort
## Your consorts

# Consort
consort_localization = {
	type = character

	text = { #Male consort
		trigger = {
			is_male = yes
		}
		localization_key = CONSORT_MALE_LOC
	}

	text = { #Female consort
		localization_key = CONSORT_FEMALE_LOC
	}
}
# The consort
the_consort_localization = {
	type = character

	text = { #Male consort
		trigger = {
			is_male = yes
		}
		localization_key = THE_CONSORT_MALE_LOC
	}

	text = { #Female consort
		localization_key = THE_CONSORT_FEMALE_LOC
	}
}
# My consort
my_consort_localization = {
	type = character

	text = { #Male consort
		trigger = {
			is_male = yes
		}
		localization_key = MY_CONSORT_MALE_LOC
	}

	text = { #Female consort
		localization_key = MY_CONSORT_FEMALE_LOC
	}
}
# Your consort
your_consort_localization = {
	type = character

	text = { #Male consort
		trigger = {
			is_male = yes
		}
		localization_key = YOUR_CONSORT_MALE_LOC
	}

	text = { #Female consort
		localization_key = YOUR_CONSORT_FEMALE_LOC
	}
}

# Consorts
consorts_localization = {
	type = character

	text = { #Female imperial consorts
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = FEMALE_IMPERIAL_CONSORTS_LOC
	}

	text = { #Male consorts
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = MALE_IMPERIAL_CONSORTS_LOC
	}

	text = { #Consorts
		trigger = {
			can_have_imperial_consorts_trigger = yes
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = UNISEX_IMPERIAL_CONSORTS_LOC
	}

	text = { #Female consorts
		trigger = {
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = FEMALE_CONSORTS_LOC
	}

	text = { #Male consorts
		trigger = {
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = MALE_CONSORTS_LOC
	}

	text = { #Consorts
		trigger = {
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = UNISEX_CONSORTS_LOC
	}
}
# The consorts
the_consorts_localization = {
	type = character

	text = { #Female imperial consorts
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = THE_FEMALE_IMPERIAL_CONSORTS_LOC
	}

	text = { #Male consorts
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = THE_MALE_IMPERIAL_CONSORTS_LOC
	}

	text = { #Consorts
		trigger = {
			can_have_imperial_consorts_trigger = yes
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = THE_UNISEX_IMPERIAL_CONSORTS_LOC
	}

	text = { #Female consorts
		trigger = {
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = THE_FEMALE_CONSORTS_LOC
	}

	text = { #Male consorts
		trigger = {
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = THE_MALE_CONSORTS_LOC
	}

	text = { #Consorts
		trigger = {
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = THE_UNISEX_CONSORTS_LOC
	}
}
# My consorts
my_consorts_localization = {
	type = character

	text = { #Female imperial consorts
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = MY_FEMALE_IMPERIAL_CONSORTS_LOC
	}

	text = { #Male consorts
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = MY_MALE_IMPERIAL_CONSORTS_LOC
	}

	text = { #Consorts
		trigger = {
			can_have_imperial_consorts_trigger = yes
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = MY_UNISEX_IMPERIAL_CONSORTS_LOC
	}

	text = { #Female consorts
		trigger = {
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = MY_FEMALE_CONSORTS_LOC
	}

	text = { #Male consorts
		trigger = {
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = MY_MALE_CONSORTS_LOC
	}

	text = { #Consorts
		trigger = {
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = MY_UNISEX_CONSORTS_LOC
	}
}
# Your consorts
your_consorts_localization = {
	type = character

	text = { #Female imperial consorts
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = YOUR_FEMALE_IMPERIAL_CONSORTS_LOC
	}

	text = { #Male consorts
		trigger = {
			can_have_imperial_consorts_trigger = yes
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = YOUR_MALE_IMPERIAL_CONSORTS_LOC
	}

	text = { #Consorts
		trigger = {
			can_have_imperial_consorts_trigger = yes
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = YOUR_UNISEX_IMPERIAL_CONSORTS_LOC
	}

	text = { #Female consorts
		trigger = {
			is_male = yes
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = YOUR_FEMALE_CONSORTS_LOC
	}

	text = { #Male consorts
		trigger = {
			is_male = no
			allowed_to_marry_same_sex_trigger = no
		}
		localization_key = YOUR_MALE_CONSORTS_LOC
	}

	text = { #Consorts
		trigger = {
			allowed_to_marry_same_sex_trigger = yes
		}
		localization_key = YOUR_UNISEX_CONSORTS_LOC
	}
}